package tv.starfu.components.music.math;

/**
 * Class to arrange notes into the Circle of Fifths.
 * 
 * Methods : Return array of [note-number/-freq/-name]
 *           Draw to canvas [Rainbow Fills/Line Drawing]
 * Fields :  Root Note
 *           Root color
 * @author Nia Radical
 */

import tv.starfu.components.music.events.Note;
import java.util.ArrayList;

public class CircleOfFifths {

    private ArrayList<Note> notes;
    private MusicTheory mt;
    
    /**
    * Initial (default) constructor
    * @param parent PApplet
    */
    public CircleOfFifths(MusicTheory mt) {
        this.mt = mt;
    }
    
     /**
    * Outer Circle :
    * { A, E, B, Gb, Db, Ab, Eb, Bb, F, C, G, D }
    * @param parent PApplet
    */
    public CircleOfFifths(MusicTheory mt, String noteName) {
        this.mt = mt;
        ArrayList<Note> notes = new ArrayList<Note>(12);
        System.out.println("HEllo from Circle of Fifths");
        if(mt.NameToNum.containsKey(noteName)) {
           System.out.println("Circle of Fifths say: " + mt.NameToNum.get(noteName));
        };        
    }

}